# /usr/bin/env python3.6
# -*- encoding: utf-8 -*-
"""
@File    : cinema_movie_model.py
@Time    : 2020/2/8 0008 10:25
@Author  : zhangbing
@Email   : 18829172841@163.com
@Software: PyCharm
"""
from App.ext import db
from App.models import BaseModel
from App.models.cinema_admin.cinema_user_model import CinemaUser
from App.models.common.movie_model import Movie

'''
此模型主要用于处理影院用户和影片之间的关系，及购买电影
'''


class CinemaMovie(BaseModel):
    c_cinema_id = db.Column(db.Integer, db.ForeignKey(CinemaUser.id))
    c_movie_id = db.Column(db.Integer, db.ForeignKey(Movie.id))


if __name__ == "__main__":
    pass
